import router from "./";
import NProgress from "nprogress"
import "nprogress/nprogress.css"
NProgress.configure({ showSpinner: false })
router.beforeEach((to, from, next) => {
    NProgress.start()
    next();
  });


  router.afterEach((to) => {
    document.title = to.meta.name as string;
    NProgress.done()
  })